By turning a file into an array you can work with the data within it as you would a standard array.